import { Module } from '@nestjs/common';
import { InformationService } from './information.service';
import { InformationController } from './information.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Information } from './entities/information.entity';
import { Types } from './entities/types.entity';
import { CommentController } from './comment/comment.controller';
import { CommentService } from './comment/comment.service';
import { commentEntity } from './entities/comment.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Information,Types,commentEntity])],
  controllers: [InformationController, CommentController],
  providers: [InformationService, CommentService]
})
export class InformationModule {}
